package com.csrcb.constant;

/**
 * @Classname ParamConstant
 * @Description 常量值的定义
 * @Date 2020/12/15 14:33
 * @Created by gangye
 */
public interface ParamConstant {
    //post请求方式
    public static final String POST_REQUEST_METHOD = "POST";

    //get请求方式
    public static final String GET_REQUEST_METHOD = "GET";

    //contentType-application/json
    public static final String CONTENT_TYPE_JSON = "application/json";
    //后期若有别的请求方式的继续添加

    //accept-application/json
    public static final String ACCTYPE_TYPE_JSON = "application/json";

    //获取access_token的请求路由
    public static final String GET_ACCESS_TOKEN_URL= "https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&";

    public static final String APP_ID = "appid";

    public static final String QUESTION_SYMBOL = "?";

    public static final String AND_SYMBOL = "&";

    public static final String APP_SECRET = "secret";

    public static final String EQUAL_SYMBOL = "=";

    //使用微信公众号发送消息的请求路由
    public static final String SEND_MESSAGE_URL = "https://api.weixin.qq.com/cgi-bin/message/custom/send";

    public static final String ACCESS_TOKEN = "access_token";

    public static final String MSGTYPE_TEXT = "text";

    //请求证书邮寄信息的url
    public static final String EMSINFO_URL = "http://xxxxxx.xxxxx.xxx/GetEMSInfo";

    public static final String HEAD_ERROR_TIME = "headErrorTime";
    public static final String EMSINFO_SEND_TIME = "emsInfoSendTime";
}
